package com.zx.BookSeaReader.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.ToOne;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;

import androidx.annotation.Nullable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @Author: ZX
 * @Time: 2020/3/27
 * @Description: 功能描述
 */
@Entity
public class BookCommentBean implements Serializable {
    @Transient
    private static final long serialVersionUID = 1L;

    @Id(autoincrement = true)
    private Long commentId;
    private String username;
    private String content;
    @Nullable
    private String type;
    @Nullable
    private int likeCount;
    private int floorCount;
    @Nullable
    private boolean haveImage;
    private String createTime;
    @Nullable
    private String bookId;
    @Nullable
    private Long listId;
    @Generated(hash = 1317005772)
    public BookCommentBean(Long commentId, String username, String content,
            String type, int likeCount, int floorCount, boolean haveImage,
            String createTime, String bookId, Long listId) {
        this.commentId = commentId;
        this.username = username;
        this.content = content;
        this.type = type;
        this.likeCount = likeCount;
        this.floorCount = floorCount;
        this.haveImage = haveImage;
        this.createTime = createTime;
        this.bookId = bookId;
        this.listId = listId;
    }
    @Generated(hash = 677452091)
    public BookCommentBean() {
    }
    public Long getCommentId() {
        return this.commentId;
    }
    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public int getLikeCount() {
        return this.likeCount;
    }
    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }
    public boolean getHaveImage() {
        return this.haveImage;
    }
    public void setHaveImage(boolean haveImage) {
        this.haveImage = haveImage;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getBookId() {
        return this.bookId;
    }
    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    public Long getListId() {
        return this.listId;
    }
    public void setListId(Long listId) {
        this.listId = listId;
    }
    public int getFloorCount() {
        return this.floorCount;
    }
    public void setFloorCount(int floorCount) {
        this.floorCount = floorCount;
    }



}
